Notification Dialog in Python
I couldn’t find any information about getting a notification dialog alert in Python. So with some help from a colleague, I got to this solution.
It’s not perfect.
It doesn’t do other notification alert types, crashes when the notification is already present and not cleared, doesn’t launch with the correct text.
These are problems, more than likely due to the fact I’m not familiar enough with how to solve them, so I’m keen to post this to get some information on what I’ve done wrong, but also to post it to let people know this is one way.
Here it is working, as you can see the Header of the notification is the name of the class and the message is ‘Running’